package com.example.service;

import com.example.pojo.Category;

import java.util.List;

public interface CategoryService {

    List<Category> getAllCategory();

    void addNewCategory(Category category);

    Category getCategoryById(int id);

    void updateCategory(Category category);

    void deleteCategoryById(int id);
}
